package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.ClientTrace;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IClientTraceService {
    void deleteByPrimaryKey(Long id);

    void insert(ClientTrace entity);

    void updateByPrimaryKey(ClientTrace entity);

    ClientTrace selectByPrimaryKey(Long id);

    List<ClientTrace> selectAll();

    PageResult query(QueryObject qo);

    /**
     * 审核操作
     *
     * @param clientTrace
     */
    void audit(ClientTrace clientTrace);

    /**
     * 通过客户id来更改对应跟踪表数据
     *
     * @param clientTrace
     */
    void updateByClientId(ClientTrace clientTrace);
}
